#ifndef __TEACHER_H_
#define __TEACHER_H_

#include "student.h"
#define StuSize 10

struct Teacher
{
    char Name[NameSize];
    int age;
    Stu s[StuSize];
    int size; // 学生数量
};
typedef struct Teacher Teach;

void InitTeacher(Teach *t, const char *name, int age);
void InsertStu(Teach *t, int id, const char *StuName); 
void RemoveByIndex(Teach *t, int index); // 根据下标删除       
void RmStuByID(Teach *t, int ID);        // 名字缩减：把元音去掉
void RmStuByName(Teach *t,const char * name);
Stu *FindStuByName(Teach *t,const char * name);
void PrintTeacher(Teach *t);

#endif
